#ifndef Signal_433_H
#define Signal_433_H

#include "compile_flag.h"

#define   SIGNAL_HEAD_MAX_US              15000
#define   SIGNAL_HEAD_MIN_US              5000

#define   SIGNAL_WIDE_MAX_US              1500
#define   SIGNAL_WIDE_MIN_US              500

#define   SIGNAL_NARROW_MAX_US              450
#define   SIGNAL_NARROW_MIN_US              160

void ble_signal_433_init(uint8_t signal_433_pin);
void ble_signal_433_start(void);
void ble_signal_433_stop(void);
void signal_433_callback(uint32_t data);

#endif


















